package com.neuedu.service;

import com.neuedu.pojo.CadreTable;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.pojo.Result;

import java.util.List;

/**
* @author Administrator
* @description 针对表【cadre_table(干部信息表)】的数据库操作Service
* @createDate 2025-06-17 09:04:08
*/
public interface CadreTableService extends IService<CadreTable> {
    Result<Void> addCadreTable(CadreTable cadreTable);
    Result<List<CadreTable>>getCadreTables(Integer currentPage, Integer pageSize,String name,String role);
    Result<Void> updateCadreTable(CadreTable cadreTable);
    Result<Void> deleteCadreTable(Integer id);
    Result<CadreTable>loginCadre(String number,String password);
    Result<Void>updatePassword(String number,String password);

}
